Skip to main content

dragSource

Type

function

Summary

Returns the long ID of the object that dragged data was dragged from.

Syntax

the dragSource
dragSource()

Description

Use the dragSource function to find out which object, and which object type, is being dragged from.

The dragSource function only returns a value while a drag and drop is in progress. Otherwise, the dragSource function returns empty.

Examples

the dragSource
if the short name of the dragSource is empty then beep

control structure: function

function: target

glossary: property, return, object type, drag and drop, object

message: dragEnd, dragDrop

property: ID

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?